package com.numberone.master.modules.recharge.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.numberone.master.common.persistence.CrudDao;
import com.numberone.master.common.persistence.annotation.MyBatisDao;
import com.numberone.master.modules.recharge.entity.Package;

/**
 * 物联卡套餐DAO接口
 * @author chengkang
 * @version 2018-02-11
 */
@MyBatisDao
public interface PackageDao extends CrudDao<Package> {
	List<Package> packageList(@Param("id")Integer id,@Param("officeId")Integer office_id);
	
	List<Package> getPackageListByOfficeId(@Param("officeId")String office_id);
	
	Package getTaocan2ByTctype(@Param("tctype")String tctype);
	
	Package getTaocan2ByStoreid(@Param("officeId")String officeId,@Param("tcId")String tcId);
	
	List<Package> getTaocan2sByStoreid(@Param("office_id")String office_id,@Param("check_store_id")String check_store_id);
	
	Package isPackageCount(@Param("officeId")String officeId,@Param("tcId")String tcId);
	
}